package com.jiepu.daily.corejava.advanceed.part2.day0726;

/**
 * @Description:
 * @author: xinjie.txt
 * @date: 2020/7/27  8:31
 */
public class Calculator {
	public double add(double a, double b) {
		return a + b;
	}

	public double sub(double a, double b) {
		return a - b;
	}

	public double mul(double a, double b) {
		return a * b;
	}

	public double dev(double a, double b) {
		return a / b;
	}

	public double pow(double a, double b) {
		return Math.pow(a, b);
	}



}
